package fr.upmc.alasca.centreCalcul.interne.controleurAdmission.connectors;

import fr.upmc.alasca.centreCalcul.interne.controleurAdmission.interfaces.ControleurAdmissionClientI;
import fr.upmc.alasca.centreCalcul.objets.DemandeAdmission;
import fr.upmc.components.connectors.AbstractConnector;


/**
 * @author Antoine Lavaire, Sabri Labassi, Thibaut Fleury, Ryme Fantazi
 */
public	class	ControleurAdmissionClientConnector
extends			AbstractConnector
implements		ControleurAdmissionClientI
{
	@Override
	public	String	soumettreApplication
	(
		DemandeAdmission	p_demandeAdmission
	) throws Exception
	{
		return ((ControleurAdmissionClientI) this.offering).soumettreApplication(p_demandeAdmission);
	}


	@Override
	public	void	arreterApplication
	(
		String	p_uriApplication
	) throws	Exception
	{
		((ControleurAdmissionClientI) this.offering).arreterApplication(p_uriApplication);
	}
}
